home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Trusted Irix /B 4.0.4
/
Trusted-Irix B-4.0.1.iso
/
dist
/
eoe1.idb
/
etc
/
single.z
/
single
Wrap
Text File
|
1992-04-03
|
316b
|
23 lines
#! /bin/sh
#Tag 0x00000f00
#
# Take the system single user. This is a nop if the system is already
# single user.
#
# $Revision: 1.3 $
if test -n "$REMOTEHOST"; then
echo "Shutdown `hostname`? \c"
read reply
case "$reply" in
[yY]*)
;;
*)
echo "'single' cancelled."
exit 0
;;
esac
fi
/etc/telinit s